export default {
  changeCity (state, city) {
    state.city = city
    // 城市改变的同时改变默认city,这样刷新的时候不会变回原来的样子
    try {
      localStorage.city = city
    } catch (e) {}
  }
}
